/*
 * Copyright 2009-2010 Belmont Software Services
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.belmont.backup.client;

import java.util.Vector;
import com.google.gwt.user.client.rpc.RemoteService;

public interface BackupAdminInterface extends RemoteService {
    public String getVersion();
    public String getBackupRoot();
    public String setBackupRoot(String root);
    public boolean isServiceEnabled();
    public String getServiceHost();
    public String getServiceIP();
    public String getServicePort();
    public String getStartedOn();
    public String[] getIncludeFilters();
    public void setIncludeFilters(String filters[]);
    public String[] getExcludeFilters();
    public void setExcludeFilters(String filters[]);
    public String[] getBackupDirectories();
    public void setBackupDirectories(String list[]);
    public boolean getAllowBackupDirChange();
    public void setAllowBackupDirChange(boolean value);
    public String getRestoreDirectory();
    public void setRestoreDirectory(String dir);
    public Vector<String[]> getClients();
    public String getSchedule();
    public void setSchedule(String schedule);
    public int getMaxVersions();
    public void setMaxVersions(int max);
    public void setPort(int port);
    public String restart(int seconds);
    public String getLogDirectory();
    public String getConfigSchedule();
    public void setConfigSchedule(String schedule);
    public void setEnableService(boolean value);
    public String getBackups();
    public int deleteBackups(Vector<String> backups);
    public String[] getBrandingStrings();
    public void setBrandingStrings(String s[]);
    public String[] getAdminUser();
    public void setAdminUser(String userpass[]);
}
